Closed Bug 1599729 Opened 5 years ago Closed 4 years ago

Remove security.identityblock.show_extended_validation pref and related UI code

Categories

(Firefox :: Site Identity, task, P3)

task

Tracking

()

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

(Reporter: dao, Assigned: gaurijove)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Since we've successfully shipped security.identityblock.show_extended_validation=false, we should remove this pref and the UI code responsible for showing the EV label in the address bar.

Also note that there's a bunch of serialization happening in webprogress to show EV data when loading websites. With the active/primary EV indicators gone, we could lazily fetch cert data using WindowGlobal.getSecurityInfo() when the user opens the identity panel to avoid serializing and sending cert data on security change.

Reading the data for EV happens here: https://searchfox.org/mozilla-central/rev/04d8e7629354bab9e6a285183e763410860c5006/browser/base/content/browser-siteIdentity.js#467

Sending from the child here: https://searchfox.org/mozilla-central/rev/04d8e7629354bab9e6a285183e763410860c5006/dom/ipc/BrowserChild.cpp#3807

Would be nice to do it at the same time or at least have a follow-up for this, as there's a potential perf benefit.

Hello, May I work on this?

Are we to completely remove support for security.identityblock.show_extended_validation and security.secure_connection_icon_color_gray ?
Currently the EV indicators are just disabled by default. Am I correct?

Flags: needinfo?(prathikshaprasadsuman)
Flags: needinfo?(jhofmann)
Flags: needinfo?(dao+bmo)
Assignee: nobody → gaurijove
Status: NEW → ASSIGNED
Flags: needinfo?(dao+bmo)

Yup

Flags: needinfo?(prathikshaprasadsuman)
Flags: needinfo?(jhofmann)
Attachment #9135121 - Attachment description: Bug 1599729- Remove security.identityblock.show_extended_validation pref and related UI code. r=johannh → Bug 1599729 - Remove security.identityblock.show_extended_validation pref and related UI code. r=johannh
Priority: -- → P3
Attachment #9135121 - Attachment description: Bug 1599729 - Remove security.identityblock.show_extended_validation pref and related UI code. r=johannh → Bug 1599729 - Remove security.identityblock.show_extended_validation pref and related UI code. r=dao
Blocks: 1625248
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dd53e57b244b
Remove security.identityblock.show_extended_validation pref and related UI code. r=dao

will update the tests.

Flags: needinfo?(gaurijove)

(In reply to Jayati Shrivastava from comment #8)

will update the tests.

Do you need help with this?

Flags: needinfo?(gaurijove)

The tests that are failing aren't directly related to the patch. I haven't yet been able to trace the error. Will be great if you could take a look :)

Flags: needinfo?(gaurijove) → needinfo?(dao+bmo)

commented in phabricator

Flags: needinfo?(dao+bmo)
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/63abe62205ee
Remove security.identityblock.show_extended_validation pref and related UI code. r=dao
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
Regressions: 1631378
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: